Masteriyo\RestApi\Controllers\Version1\NotificationsController S

Total Complexity 50
Dependencies 11
Dependents 2
Total lines 830
Lines of code 470
Logical lines of code 109
Comment lines 276
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
prepare_object_for_database()
A
44 14 43
update_items()
S
50 6 26
delete_items()
S
51 6 25
register_routes()
S
38 1 92
get_collection_params()
S
40 1 81
get_item_schema()
S
40 1 78
get_object()
S
60 4 13
get_notification_data()
S
56 1 17
prepare_objects_query()
S
58 1 16
get_item_permissions_check()
S
66 2 9
get_items_permissions_check()
S
66 2 9
delete_item_permissions_check()
S
66 2 9
prepare_object_for_response()
S
65 2 8
create_item_permissions_check()
S
66 2 9
process_objects_collection()
S
63 1 11
check_item_permission()
S
82 1 3
prepare_objects_query_for_batch()
S
64 1 9
get_objects()
S
65 1 9
__construct()
S
81 1 3